import java.util.Vector;

public class Vect implements Structura 
{
        public Vector v = new Vector ();
        public void adauga(int elem) 
        {
                v.add(elem);
        }

        public void sterge(int elem) 
        {
                v.remove(elem);
        }
        
        public void valoare (int indice)
        {
                System.out.println("Valoarea de pe pozitia "+indice+" este "+ v.get(indice));
        }

        public void afiseaza()
        {
        	 int i;
             for (i=0; i< v.size();i++)
             {
                     System.out.print(v.get(i)+" ");
             }
             System.out.println();
        	
        }
}
